package hottargui.config;

import hottargui.framework.GameData;
import hottargui.framework.PlayerColor;
import hottargui.framework.Tile;
import hottargui.framework.TileType;

public class DeltaTestGreenWinBoardStrategy extends DeltaTestBoardStrategy {

	@Override
	public void setupBoard(GameData gameData) {
		this.gameData = gameData;
		super.setupBoard(this.gameData);

		/*
		 * red player 4 tiles (1 oasis, 2 erg, 1 mountain) = 9 point green
		 * player 3 tiles (2 reg, 1 oasis) = 11 point blue player 2 tiles (1
		 * saltmine, 1 mountain) = 9 point yellow player 3 tiles (1 erg, 1 reg) =
		 * 6 point
		 */

		Tile redOasis1 = getFreeTile(TileType.Oasis);
		redOasis1.setOwnerColor(PlayerColor.Red);

		Tile redErg1 = getFreeTile(TileType.Erg);
		redErg1.setOwnerColor(PlayerColor.Red);

		Tile redErg2 = getFreeTile(TileType.Erg);
		redErg2.setOwnerColor(PlayerColor.Red);

		Tile redFesh1 = getFreeTile(TileType.Feshfesh);
		redFesh1.setOwnerColor(PlayerColor.Red);

		/* Setup green tiles */
		Tile greenReg1 = getFreeTile(TileType.Reg);
		greenReg1.setOwnerColor(PlayerColor.Green);

		Tile greenReg2 = getFreeTile(TileType.Reg);
		greenReg2.setOwnerColor(PlayerColor.Green);

		Tile greenOasis1 = getFreeTile(TileType.Oasis);
		greenOasis1.setOwnerColor(PlayerColor.Green);

		/* Setup blue tiles */
		Tile blueSaltMine1 = getFreeTile(TileType.Saltmine);
		blueSaltMine1.setOwnerColor(PlayerColor.Blue);

		Tile blueMountain1 = getFreeTile(TileType.Mountain);
		blueMountain1.setOwnerColor(PlayerColor.Blue);

		/* Setup yellow tiles */
		Tile yellowReg1 = getFreeTile(TileType.Reg);
		yellowReg1.setOwnerColor(PlayerColor.Yellow);
		Tile yellowErg1 = getFreeTile(TileType.Erg);
		yellowErg1.setOwnerColor(PlayerColor.Yellow);
	}
}
